//
//  NSString+AttrString.h
//  XZLife
//
//  Created by Liangshangjia on 15/9/2.
//  Copyright (c) 2015年 Sami-industry. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Attributed)


/**
 *  生成对应的富文体
 *  @param color 前景颜色
 *  @param font 字体
 *  @param lineSpacing 行距
 */
- (NSAttributedString *)attributedStringWithColor:(UIColor *)color andFont:(UIFont *)font andLineSpacing:(CGFloat)lineSpacing;
- (NSAttributedString *)attributedStringWithLineSpacing:(CGFloat)lineSpacing;



@end
